/* pages/test/test.wxss */
page {
    background-color: #d6ccd1;
}

// 遮罩层的样式
.mask {
    width: 100%;
    height: 100%;
    background-color: rgba(56, 55, 55, 0.651);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
}

// 弹窗的样式
.windows {
    width: 90%;
    height: 950rpx;
    background-color: white;
    position: absolute;
    top: 150rpx;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 38rpx;
    border-radius: 25rpx;

    .title {
        color: #e40a5e;
        font-size: 50rpx;
        font-weight: bolder;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20rpx 0rpx;
    }

    .body {
        font-size: 30rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 75%;
        width: 90%;
    }

    .bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #e40a5e;
        width: 70%;
        height: 80rpx;
        color: #fff;
        font-size: 40rpx;
        font-weight: bolder;
        border-radius: 30rpx;
        margin-top: 20rpx;
    }

}

// 弹窗的样式
.rule-windows {
    width: 90%;
    height: 950rpx;
    background-color: white;
    position: absolute;
    top: 150rpx;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 38rpx;
    border-radius: 25rpx;

    .rule-title {
        color: #e40a5e;
        font-size: 50rpx;
        font-weight: bolder;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20rpx 0rpx;
    }

    .body {
        font-size: 30rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 75%;
        width: 90%;
    }

    .rule-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #e40a5e;
        width: 70%;
        height: 80rpx;
        color: #fff;
        font-size: 40rpx;
        font-weight: bolder;
        border-radius: 30rpx;
        margin-top: 20rpx;
    }

}

// 中间渲染的样式
.product-container-wrap {
    display: flex;
    justify-content: center;

    .product-container {
        background-color: #fff;
        width: 95%;
        border-radius: 25rpx;

        .product-top_wrap {
            .Down {
                margin-top: 10rpx;
                margin-left: 20rpx;
                font-size: 35rpx;
                font-weight: bolder;
                color: #e40a5e;
            }
        }

        .product-item-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            .product-item {
                display: flex;
                padding-top: 20rpx;
                padding-bottom: 20rpx;
                width: 97%;
                border-bottom: 1rpx solid black;
                position: relative;
                .product_img {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin-left: 10rpx;
                    .goods-img {
                        height: 200rpx;
                        width: 150rpx;
                    }
                }

                .product-movable-item {
                    margin-left: 20rpx;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;
                    .goods-name {
                        flex: 1;
                        display: -webkit-box;
                        overflow: hidden;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        color: black;
                        // font-weight: bolder;
                        font-size: 35rpx;
                    }

                    /* 标签的样式 */
                    .goods-mess {
                        flex: 2;
                        display: flex;
                        margin-top: 10rpx;
                        width: 400rpx;
                        color: #fff;
                        justify-content: space-between;
                        .goods_injure,
                        .goods_notes,
                        .goods_edition {
                            font-size: 25rpx;
                            border-radius: 25rpx;
                            background-color: #e40a5e;
                            width: 120rpx;
                            height: 40rpx;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-weight: bold;
                        }
                    }

                    .goods-price {
                        flex: 1;
                        color: rgb(237, 58, 58);
                        display: flex;
                        justify-content: space-between;
                    }
                }
                .product_change{
                    position: absolute;
                    right: 10rpx;
                    bottom: 10rpx;
                }
                .change_wrap{
                    display: flex;
                    flex-direction: column;
                    width: 100rpx;
                    height: 125rpx;
                    border: 1rpx solid #c9bfbf;
                    border-radius: 10rpx;
                    position: absolute;
                    right: 60rpx;
                    bottom: -80rpx;
                    z-index: 50;
                    .modify,.under,.delete{
                        display: flex;
                        justify-content: space-around;
                        align-items: center;
                        padding: 5rpx 10rpx;
                        .modify_icon,.under_icon,.delete_icon{
                            width: 25rpx;
                            height: 25rpx;
                        }
                        .modify_text,.under_text,.delete_text{
                            font-size: 25rpx;
                        }
                    }
                    .modify,.under{
                        border-bottom: 1rpx solid #c9bfbf;
                    }
                }
            }
            // 去除最后一个元素的下横线
            .product-item:last-child {
                border-bottom: 1rpx solid #d6ccd1;
            }
        }
    }
}

.order{
    .order_wrap{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .order-item{
            width: 85%;
            border-radius: 25rpx;
            background-color: #fff;
            padding: 20rpx 30rpx;
            position: relative;
            margin: 10rpx 0rpx;
            .order-top{
                display: flex;
                justify-content: space-between;
                border-bottom: 1rpx solid gray;
                padding-bottom: 10rpx;
                .status{
                    color: #e40a5e;
                    font-weight: bolder;
                    margin-right: 20rpx;
                }
            }
            .photos{
                margin-top: 20rpx;
                display: flex;
                flex-direction: row;
                .photo{
                    width: 150rpx;
                    height: 200rpx;
                    margin-left: 15rpx;
                }
            }
            .numbs{
                font-size: 28rpx;
                color: gray;
                font-weight: bold;
                margin-top: 10rpx;
            }
            .order-bottom{
                width: 55%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-weight: bold;
                .count{
                    font-size: 27rpx;
                }
                .money{
                    color: #e40a5e;
                }
            }
            .confirm_wrap{
                position: absolute;
                bottom: 20rpx;
                right: 30rpx;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #e40a5e;
                width: 180rpx;
                height: 70rpx;
                border-radius: 50rpx;
                color: #fff;
            }
        }
    }
}